/* 全局样式 - 修复弹窗位置问题并在整个弹窗外添加边框 */
.el-message-box {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 2000 !important;
  width: 400px !important;
  max-width: 90% !important;
  border: 2px solid #409eff !important; /* 在整个弹窗外添加边框 */
  border-radius: 8px !important; /* 保持圆角 */
  overflow: hidden !important; /* 防止内容超出边框 */
  
  .el-message-box__wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
  }
  
  .el-message-box__header {
    padding: 15px 20px 10px !important;
    background-color: #f5f7fa !important; /* 为标题栏添加背景色 */
    border-bottom: 1px solid #dcdfe6 !important; /* 标题栏底部边框 */
  }
  
  .el-message-box__title {
    font-size: 18px !important;
    color: #333 !important;
    font-weight: bold !important;
  }
  
  .el-message-box__content {
    padding: 20px !important;
    background-color: #fff !important;
  }
  
  .el-message-box__message {
    font-size: 16px !important;
    color: #666 !important;
    margin-bottom: 20px !important;
  }
  
  .el-message-box__btns {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 10px 20px 20px !important;
    background-color: #fff !important;
    
    .el-button {
      padding: 8px 16px !important;
      font-size: 14px !important;
    }
  }
  
  .el-message-box__close {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
  }
}